package cz.tomasdvorak.cars.wicket.components.table;

import org.apache.wicket.extensions.markup.html.repeater.data.table.AbstractColumn;
import org.apache.wicket.model.IModel;

public abstract class AbstractColumnCss<T> extends AbstractColumn<T> {
    private String cssClass;

    public AbstractColumnCss(String cssClass, IModel<String> displayModel, String sortProperty) {
        super(displayModel, sortProperty);
        this.cssClass = cssClass;
    }

    public AbstractColumnCss(String cssClass, IModel<String> displayModel) {
        super(displayModel);
        this.cssClass = cssClass;
    }

    @Override
    public String getCssClass() {
        return cssClass;
    }
}
